package com.weixin.engine.event;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * TODO 功能描述
 *
 * @author wangchunhui
 * @date 2023/12/12 10:21
 */
@Component
public class MySpringApplicationListenerForMail implements ApplicationListener<MySpringApplicationEventForPay> {

    @Override
    public void onApplicationEvent(MySpringApplicationEventForPay event) {
        Object source = event.getSource();
        System.out.println(source + "改变了. 【邮件事件监听器】将要做出响应....");

    }
}